package com.jiyun.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "admin-service")
public interface AdminFeignClient {
    @DeleteMapping("/admin/address/deleteById/{id}")
    public void deleteAddressById(@PathVariable Integer id);

    @DeleteMapping("/admin/feedback/deleteById/{id}")
    public void deleteById(@PathVariable Integer id);

    @DeleteMapping("/admin/invitation/deleteById/{id}")
    public void deleteInvitationById(@PathVariable Integer id);

}
